﻿using B.S.Medical.Api.Read.DTOS;
using B.S.Medical.ErrorCode;
using MediatR;

namespace B.S.Medical.Api.Read.Application.Command.Doctor
{
    public class SearchDoctorCommand:IRequest<ApiPageing<DoctorDTO>>
    {
        /// <summary>
        /// 科室
        /// </summary>
        public int DepartmentId { get; set; } = 0;
        /// <summary>
        /// 医生名称
        /// </summary>
        public string? DoctorName { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; } = 10;
    }
}
